package com.jumi.microservice.material.dto.supplier;

import io.swagger.annotations.ApiModelProperty;
import org.jetbrains.annotations.NotNull;


import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;



public class JmSupplierStatusRequest implements Serializable {
    @ApiModelProperty("厂家的id（添加的时候不需要）")
    @NotNull
    private Long supplierId;
    /*
     * 状态值 0：禁用；1：启用
     * */
    @ApiModelProperty("启用状态0：禁用；1：启用")
    @Min(value = 0,message = "参数类型有误")
    @Max(value = 1,message = "参数类型有误")
    private Integer status;

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
